package com.java.androidmarket.dao;

import com.java.androidmarket.entity.KillStock;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * description:
 * author:张腾
 * date:2021-06-01
 */

@Mapper
public interface KillStockDao {

    KillStock getStock(int goodsId);

    int setLock(KillStock killStock);

    void lockTosSale(KillStock killStock);

    void reLock(@Param("killgoodsId") int killgoodsId, @Param("lock") int lockNum);
}
